package com.ysy.tz.mfg.dto;

import com.ysy.tz.mfg.entity.BaseEntity;

public class ArriveFactoryDto extends BaseEntity {
    private String pigShipNo;
    private String deliveryCode;
    private String supplierCustomerCode;
    private String selfSupplyCode;
    private String flightsCode;
    private String sourceBillNo;
    private String planBillNo;
    private String pigDataOrderNo;
    private String areaCode;
    private String smartCode;
    private String beginDate;
    private String endDate;

    public ArriveFactoryDto() {
    }

    public String getPigShipNo() {
        return this.pigShipNo;
    }

    public String getDeliveryCode() {
        return this.deliveryCode;
    }

    public String getSupplierCustomerCode() {
        return this.supplierCustomerCode;
    }

    public String getSelfSupplyCode() {
        return this.selfSupplyCode;
    }

    public String getFlightsCode() {
        return this.flightsCode;
    }

    public String getSourceBillNo() {
        return this.sourceBillNo;
    }

    public String getPlanBillNo() {
        return this.planBillNo;
    }

    public String getPigDataOrderNo() {
        return this.pigDataOrderNo;
    }

    public String getAreaCode() {
        return this.areaCode;
    }

    public String getSmartCode() {
        return this.smartCode;
    }

    public String getBeginDate() {
        return this.beginDate;
    }

    public String getEndDate() {
        return this.endDate;
    }

    public void setPigShipNo(String pigShipNo) {
        this.pigShipNo = pigShipNo;
    }

    public void setDeliveryCode(String deliveryCode) {
        this.deliveryCode = deliveryCode;
    }

    public void setSupplierCustomerCode(String supplierCustomerCode) {
        this.supplierCustomerCode = supplierCustomerCode;
    }

    public void setSelfSupplyCode(String selfSupplyCode) {
        this.selfSupplyCode = selfSupplyCode;
    }

    public void setFlightsCode(String flightsCode) {
        this.flightsCode = flightsCode;
    }

    public void setSourceBillNo(String sourceBillNo) {
        this.sourceBillNo = sourceBillNo;
    }

    public void setPlanBillNo(String planBillNo) {
        this.planBillNo = planBillNo;
    }

    public void setPigDataOrderNo(String pigDataOrderNo) {
        this.pigDataOrderNo = pigDataOrderNo;
    }

    public void setAreaCode(String areaCode) {
        this.areaCode = areaCode;
    }

    public void setSmartCode(String smartCode) {
        this.smartCode = smartCode;
    }

    public void setBeginDate(String beginDate) {
        this.beginDate = beginDate;
    }

    public void setEndDate(String endDate) {
        this.endDate = endDate;
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof ArriveFactoryDto)) {
            return false;
        } else {
            ArriveFactoryDto other = (ArriveFactoryDto)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                label155: {
                    Object this$pigShipNo = this.getPigShipNo();
                    Object other$pigShipNo = other.getPigShipNo();
                    if (this$pigShipNo == null) {
                        if (other$pigShipNo == null) {
                            break label155;
                        }
                    } else if (this$pigShipNo.equals(other$pigShipNo)) {
                        break label155;
                    }

                    return false;
                }

                Object this$deliveryCode = this.getDeliveryCode();
                Object other$deliveryCode = other.getDeliveryCode();
                if (this$deliveryCode == null) {
                    if (other$deliveryCode != null) {
                        return false;
                    }
                } else if (!this$deliveryCode.equals(other$deliveryCode)) {
                    return false;
                }

                Object this$supplierCustomerCode = this.getSupplierCustomerCode();
                Object other$supplierCustomerCode = other.getSupplierCustomerCode();
                if (this$supplierCustomerCode == null) {
                    if (other$supplierCustomerCode != null) {
                        return false;
                    }
                } else if (!this$supplierCustomerCode.equals(other$supplierCustomerCode)) {
                    return false;
                }

                label134: {
                    Object this$selfSupplyCode = this.getSelfSupplyCode();
                    Object other$selfSupplyCode = other.getSelfSupplyCode();
                    if (this$selfSupplyCode == null) {
                        if (other$selfSupplyCode == null) {
                            break label134;
                        }
                    } else if (this$selfSupplyCode.equals(other$selfSupplyCode)) {
                        break label134;
                    }

                    return false;
                }

                label127: {
                    Object this$flightsCode = this.getFlightsCode();
                    Object other$flightsCode = other.getFlightsCode();
                    if (this$flightsCode == null) {
                        if (other$flightsCode == null) {
                            break label127;
                        }
                    } else if (this$flightsCode.equals(other$flightsCode)) {
                        break label127;
                    }

                    return false;
                }

                label120: {
                    Object this$sourceBillNo = this.getSourceBillNo();
                    Object other$sourceBillNo = other.getSourceBillNo();
                    if (this$sourceBillNo == null) {
                        if (other$sourceBillNo == null) {
                            break label120;
                        }
                    } else if (this$sourceBillNo.equals(other$sourceBillNo)) {
                        break label120;
                    }

                    return false;
                }

                Object this$planBillNo = this.getPlanBillNo();
                Object other$planBillNo = other.getPlanBillNo();
                if (this$planBillNo == null) {
                    if (other$planBillNo != null) {
                        return false;
                    }
                } else if (!this$planBillNo.equals(other$planBillNo)) {
                    return false;
                }

                label106: {
                    Object this$pigDataOrderNo = this.getPigDataOrderNo();
                    Object other$pigDataOrderNo = other.getPigDataOrderNo();
                    if (this$pigDataOrderNo == null) {
                        if (other$pigDataOrderNo == null) {
                            break label106;
                        }
                    } else if (this$pigDataOrderNo.equals(other$pigDataOrderNo)) {
                        break label106;
                    }

                    return false;
                }

                Object this$areaCode = this.getAreaCode();
                Object other$areaCode = other.getAreaCode();
                if (this$areaCode == null) {
                    if (other$areaCode != null) {
                        return false;
                    }
                } else if (!this$areaCode.equals(other$areaCode)) {
                    return false;
                }

                label92: {
                    Object this$smartCode = this.getSmartCode();
                    Object other$smartCode = other.getSmartCode();
                    if (this$smartCode == null) {
                        if (other$smartCode == null) {
                            break label92;
                        }
                    } else if (this$smartCode.equals(other$smartCode)) {
                        break label92;
                    }

                    return false;
                }

                Object this$beginDate = this.getBeginDate();
                Object other$beginDate = other.getBeginDate();
                if (this$beginDate == null) {
                    if (other$beginDate != null) {
                        return false;
                    }
                } else if (!this$beginDate.equals(other$beginDate)) {
                    return false;
                }

                Object this$endDate = this.getEndDate();
                Object other$endDate = other.getEndDate();
                if (this$endDate == null) {
                    if (other$endDate != null) {
                        return false;
                    }
                } else if (!this$endDate.equals(other$endDate)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(Object other) {
        return other instanceof ArriveFactoryDto;
    }

    public int hashCode() {
        int result = 1;
        Object $pigShipNo = this.getPigShipNo();
        result = result * 59 + ($pigShipNo == null ? 43 : $pigShipNo.hashCode());
        Object $deliveryCode = this.getDeliveryCode();
        result = result * 59 + ($deliveryCode == null ? 43 : $deliveryCode.hashCode());
        Object $supplierCustomerCode = this.getSupplierCustomerCode();
        result = result * 59 + ($supplierCustomerCode == null ? 43 : $supplierCustomerCode.hashCode());
        Object $selfSupplyCode = this.getSelfSupplyCode();
        result = result * 59 + ($selfSupplyCode == null ? 43 : $selfSupplyCode.hashCode());
        Object $flightsCode = this.getFlightsCode();
        result = result * 59 + ($flightsCode == null ? 43 : $flightsCode.hashCode());
        Object $sourceBillNo = this.getSourceBillNo();
        result = result * 59 + ($sourceBillNo == null ? 43 : $sourceBillNo.hashCode());
        Object $planBillNo = this.getPlanBillNo();
        result = result * 59 + ($planBillNo == null ? 43 : $planBillNo.hashCode());
        Object $pigDataOrderNo = this.getPigDataOrderNo();
        result = result * 59 + ($pigDataOrderNo == null ? 43 : $pigDataOrderNo.hashCode());
        Object $areaCode = this.getAreaCode();
        result = result * 59 + ($areaCode == null ? 43 : $areaCode.hashCode());
        Object $smartCode = this.getSmartCode();
        result = result * 59 + ($smartCode == null ? 43 : $smartCode.hashCode());
        Object $beginDate = this.getBeginDate();
        result = result * 59 + ($beginDate == null ? 43 : $beginDate.hashCode());
        Object $endDate = this.getEndDate();
        result = result * 59 + ($endDate == null ? 43 : $endDate.hashCode());
        return result;
    }

    public String toString() {
        return "ArriveFactoryDto(pigShipNo=" + this.getPigShipNo() + ", deliveryCode=" + this.getDeliveryCode() + ", supplierCustomerCode=" + this.getSupplierCustomerCode() + ", selfSupplyCode=" + this.getSelfSupplyCode() + ", flightsCode=" + this.getFlightsCode() + ", sourceBillNo=" + this.getSourceBillNo() + ", planBillNo=" + this.getPlanBillNo() + ", pigDataOrderNo=" + this.getPigDataOrderNo() + ", areaCode=" + this.getAreaCode() + ", smartCode=" + this.getSmartCode() + ", beginDate=" + this.getBeginDate() + ", endDate=" + this.getEndDate() + ")";
    }
}
